//
//  cooperatingPartnerCollectionViewCell.m
//  lmq
//
//  Created by 千翼网络科技 on 2017/4/3.
//  Copyright © 2017年 yuanxin. All rights reserved.
//

#import "cooperatingPartnerCollectionViewCell.h"
#import "configddd.h"
#import <Masonry/Masonry.h>

@implementation cooperatingPartnerCollectionViewCell

-(id)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        
//        self.backgroundColor=[UIColor redColor];
        
        self.backView=[[UIView alloc]initWithFrame:CGRectMake(0,0, (scrWidth() - screenScale(120) - screenScale(100)) / 3, screenScale(200))];
        [self addSubview:self.backView];
        
        //显示图片
        self.imageshow=[[UIImageView alloc]initWithFrame:CGRectMake((0), (0), (scrWidth() - screenScale(120) - screenScale(100)) / 3, screenScale(134))];
        [self.backView addSubview:self.imageshow];
        
        //名称
        self.myLabel=[[UILabel alloc]initWithFrame:CGRectMake(0, screenScale(135), (scrWidth() - screenScale(120) - screenScale(100)) / 3, screenScale(66))];
        self.myLabel.textAlignment = NSTextAlignmentCenter;
        self.myLabel.font = get4sFont(10);
        [self.backView addSubview:self.myLabel];
        
    }
    return self;
}

@end
